package com.czn.controller.admin;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author ChenZeNan
 * @create 2021-04-25 15:18
 */
@Controller
@RequestMapping("/admin")
public class AdminIndexController {
    /**
     * 跳转到管理员首页
     *
     * @return
     */
    @RequestMapping("/index")
    public String toIndex() {
        return "admin/index";
    }

}
